<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-6">
        <h2>商品管理</h2>
        <ol class="breadcrumb">
            <li class="active">
                 <strong><a href="index.html">主页</a></strong>
            </li>
            <li>
                <a>商品管理</a>
            </li>
        </ol>
    </div>
</div>
<div class="wrapper wrapper-content">
    <div class="ibox float-e-margins">
         <div class="ibox-content">
                <table class="table  table-hover">
                    <thead>
                    <tr>
                        <th></th>
                        <th>id</th>
                        <th>用户名</th>
                        <th>创建时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="user" id="vo" >
                        <tr>
                            <td ><input type="checkbox" value="{$vo.id}" class='is_select'></td>
                            <td>{$vo.id}</td>
                            <td>{$vo.username}</td>
                            <td>{$vo.creat_time|date="y-m-d H:i:s",###}</td>
                            <td>{$vo.status|status}</td>
                             <td><if condition="$vo['status'] eq 1"><a href="{:U('admin/member/ban/id/'.$vo['id'])}" class="btn btn-warning btn-xs">禁用</a>
                             <else /><a href="{:U('admin/member/enable/id/'.$vo['id'])}" class="btn btn-info btn-xs">激活</a></if>    
                             <a href="{:U('admin/prodect/del/',array('id'=>$vo[id]))}" class="btn btn-danger btn-xs del" >删除</a></td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <div>
                    <label>
                        <input type="checkbox" id="checkall"> 全选
                    </label>
                </div>
                <div id="del_all"><a href="" class="btn btn-danger btn-xs">删除选中项</a></div>
        {$page}
        </div>
    </div>
</div>
    